package com.sj.purchase.modules.purchase.views;


import com.sj.purchase.util.excel.annotation.ExcelAttribute;

import java.io.Serializable;

/**
 * Created by icodebug on 17-6-13.
 */
public class VPurchase implements Serializable {

    private static final long serialVersionUID = 6998996339466300369L;

    @ExcelAttribute(name="spu编号", column="A")
    private String spuNo;


    //@ExcelAttribute(name="", column="")
    //private String spuName;

    @ExcelAttribute(name="sku编码", column="B")
    private String skuNo;

    @ExcelAttribute(name="名称", column="C")
    private String skuName;

    @ExcelAttribute(name="最终总采购", column="D")
    private Integer finalPurchase=0;//最终采购1 = 最近三天销售平均数×安全天数-实际库存-在途

    @ExcelAttribute(name="采购1", column="E")
    private Integer finalPurchase1=0;//最终采购1 = 最近三天销售平均数×安全天数-实际库存-在途

    @ExcelAttribute(name="采购2", column="F")
    private Integer finalPurchase2=0;//最终采购2 = 昨天销量×安全天数-实际库存-在途




//以下为济南的数据

    @ExcelAttribute(name="济南库存", column="G")
    private Integer nowStock=0;//现在库存

    @ExcelAttribute(name="济南在途", column="H")
    private Integer passage=0; //在途数

    @ExcelAttribute(name="济南昨日销量", column="I")
    private Integer yesterdaySales=0;//昨日销量

    @ExcelAttribute(name="济南三天", column="J")
    private Integer threeDaySales=0;//最近三天总销量

//以上为济南数据，以下为广州数据

    @ExcelAttribute(name="广州库存", column="K")
    private Integer gnowStock=0;//现在库存

    @ExcelAttribute(name="广州在途", column="L")
    private Integer gpassage=0; //在途数

    @ExcelAttribute(name="广州昨日", column="M")
    private Integer gyesterdaySales=0;//昨日销量

    @ExcelAttribute(name="广州三天", column="N")
    private Integer gthreeDaySales=0;//最近三天总销量

//以上为广州数据


    @ExcelAttribute(name="最后一次采购价", column="O")
    private Double lastPrice=0d;//最后一次采购价

    @ExcelAttribute(name="库存成本价", column="P")
    private Double stockCost=0d;//库存成本价


    public String getSpuNo() {
        return spuNo;
    }

    public void setSpuNo(String spuNo) {
        this.spuNo = spuNo;
    }


    public Integer getFinalPurchase1() {
        return finalPurchase1;
    }

    public void setFinalPurchase1(Integer finalPurchase1) {
        this.finalPurchase1 = finalPurchase1;
    }

    public String getSkuNo() {
        return skuNo;
    }

    public void setSkuNo(String skuNo) {
        this.skuNo = skuNo;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Integer getFinalPurchase() {
        return finalPurchase;
    }

    public void setFinalPurchase(Integer finalPurchase) {
        this.finalPurchase = finalPurchase;
    }

    public Integer getFinalPurchase2() {
        return finalPurchase2;
    }

    public void setFinalPurchase2(Integer finalPurchase2) {
        this.finalPurchase2 = finalPurchase2;
    }

    public Double getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(Double lastPrice) {
        this.lastPrice = lastPrice;
    }

    public Double getStockCost() {
        return stockCost;
    }

    public void setStockCost(Double stockCost) {
        this.stockCost = stockCost;
    }


    public Integer getNowStock() {
        return nowStock;
    }

    public void setNowStock(Integer nowStock) {
        this.nowStock = nowStock;
    }

    public Integer getPassage() {
        return passage;
    }

    public void setPassage(Integer passage) {
        this.passage = passage;
    }

    public Integer getYesterdaySales() {
        return yesterdaySales;
    }

    public void setYesterdaySales(Integer yesterdaySales) {
        this.yesterdaySales = yesterdaySales;
    }

    public Integer getThreeDaySales() {
        return threeDaySales;
    }

    public void setThreeDaySales(Integer threeDaySales) {
        this.threeDaySales = threeDaySales;
    }

    public Integer getGnowStock() {
        return gnowStock;
    }

    public void setGnowStock(Integer gnowStock) {
        this.gnowStock = gnowStock;
    }

    public Integer getGpassage() {
        return gpassage;
    }

    public void setGpassage(Integer gpassage) {
        this.gpassage = gpassage;
    }

    public Integer getGyesterdaySales() {
        return gyesterdaySales;
    }

    public void setGyesterdaySales(Integer gyesterdaySales) {
        this.gyesterdaySales = gyesterdaySales;
    }

    public Integer getGthreeDaySales() {
        return gthreeDaySales;
    }

    public void setGthreeDaySales(Integer gthreeDaySales) {
        this.gthreeDaySales = gthreeDaySales;
    }
}
